@charset "UTF-8";

@import "../core/reset";


body {
  background: yellow;
  width: 100%;
  height: 100%;
  @include flexbox();
  @include flex-direction(column);

  .shopChartHeader {
    width: 100%;
    width: 100%;
    height: .4rem;
    background: #fafafa;
    @include flexbox();
    a {
      width: .3rem;
      height: .4rem;
      background: url("../images/catIcon.png") no-repeat 0 .06rem;
      background-size: 150px 150px;
      margin-left: .08rem;
      color: #333;

    }

    h2 {
      @include flex(1);
      text-align: center;
      color: #333;
      line-height: 40px;
      font-size: .16rem;
    }

    span {
      width: .3rem;
      height: .4rem;
      // background: url("../images/headIcon.png") no-repeat;
      background-position: -150px 6px;
      margin-right: .08rem;
      color: #333;
      padding-top: .15rem;

      li {
        display: block;
        width: .2rem;
        height: .02rem;
        margin-bottom: .04rem;
        overflow: hidden;
        background: #666;
      }
    }
  }

  .shopChartScrollWrapper {

    flex-grow: 1;
    width: 100%;
    background: #f3f5f6;
    padding-top: 8px;
    .shopContent {
      background: white;
      .shopContentHeader {
        height: 45px;
        @include border(0 0 1px 0);
        border-color: #333;
        @include flexbox();
        justify-content: flex-start;
        align-items: center;
        .titleSlectitem {
          display: block;
          background: url('../images/catIcon.png') no-repeat;
          background-size: 150px 150px;
          width: 25px;
          height: 25px;
          background-position: -2px -115px;
          margin-left: 10px;
        }

        i {
          background: url('../images/dsf.png') no-repeat;
          width: 15px;
          height: 15px;
          display: inline-block;
          background-size: 15px 15px;
          margin-left: 5px;
        }

        .shopName {
          margin-left: 5px;
          display: inline-block;
        }


      }

      .showItemList {
        .activityHint {
          width: 100%;
          background: white;
          padding-top: 10px;
          .subTitleHintIcon {
            color: #c58cff;
            border: 1px solid #c58cff;
            border-radius: 4px;
            width: 22px;
            height: 12px;
            padding: 0 3px;
            margin-left: 40px;
          }
          .activitysubHint {
            color: #feac37;
          }
        }

        .inchartItem {
          height: 100px;
          background: white;
          @include flexbox();
          @include flex-direction(row);
          align-items: center;
          position: relative;
          padding-right: 30px;
          @include border(0 0 1px 0);
          border-color: #333;
          .inchartItemSelect {
            display: block;
            background: url('../images/catIcon.png') no-repeat;
            background-size: 150px 150px;
            width: 25px;
            height: 25px;
            background-position: -2px -115px;
            margin-left: 10px;
          }

          img {
            height: 80px;
            height: 80px;
            display: inline-block;
          }

          .inchartItemContent {
            position: absolute;
            left:130px;
            right: 0;
            // @include flex(1);
            padding-right: 20px;
            p {
              height: 36px;
              width: 100%;
              @include ellipsis(null, 2);
              padding-right: 20px
              ;
            }
            >i {
              color: #ff0000;
              font-size: 13px;
            }

            .itemController {
              height: 20px;
              position: relative;
              width: 100%;
              .numberController {
                border: 1px solid #d0d0d0;
                width: 75px;
                @include flexbox();
                @include flex-direction(row);
                .itemMinus {
                  width: 20px;
                  height: 20px;
                  display: inline-block;
                  line-height: 20px;
                  text-align: center;
                }

                .itemPlus {
                  width: 20px;
                  height: 20px;
                  display: inline-block;
                  line-height: 20px;
                  text-align: center;
                }

                input {
                  width: 33px;
                  height: 20px;
                  border: 0;
                  padding: 0;
                  outline: 0;
                  margin: 0;
                  border: 1px solid #d0d0d0;

                }

              }

              .deleteItem {
                position: absolute;
                top: 0;
                right: 20px;
              }
            }

          }

        }
      }
    }



  }

  .shopChartFooter {
    width: 100%;
    height: 50px;
    background: white;
    @include flexbox();
    @include flex-direction(row);
    position: relative;
    .shopChartFooterContent {
      @include flex(1);
      line-height: 50px;
      padding-left: 20px;
    }

    .goToPay {
      width: 75px;
      height: 100%;
      background-color: #fd5a5b;
      position: absolute;
      right: 0;
      color: white;
      line-height: 50px;
      text-align: center;
    }

  }
}
